package org.ddd.productdemo.domaindriven.application.port.incoming;

import org.ddd.productdemo.domaindriven.application.dto.OrderRequest;
import org.ddd.productdemo.domaindriven.application.dto.OrderResponse;

import java.util.List;
import java.util.Optional;

public interface OrderApplicationService {

    OrderResponse createOrder(OrderRequest request);
    Optional<OrderResponse> getOrder(String orderId);
    List<OrderResponse> getCustomerOrders(String customerId);
    void confirmOrder(String orderId);

}
